package com.situ.blog.pojo.entity;

import lombok.*;

import java.util.Date;


//@NoArgsConstructor
//@AllArgsConstructor
//@Getter
//@Setter
//@ToString
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;
    private String name;
    private String password;
    private Integer role;
    private String nickName;
    private String email;
    private String phone;
    private String image;
    private Integer status;
    private Integer deleted;
    private Date gmtCreate;
    private Date gmtModified;

    public User(String name, String password, Integer role, String nickName, String email, String phone, String image) {
        this.name = name;
        this.password = password;
        this.role = role;
        this.nickName = nickName;
        this.email = email;
        this.phone = phone;
        this.image = image;
    }
}
